﻿#pragma once
#include<vector>
#include "geoproject.h"
using namespace std;
/*
 *
 *
 * 后面可以考虑支持最大工程数量
 *@Author
 */
class GeoProjectManager
{
public:
    static GeoProjectManager& GetSingleton();
    GeoProject* CreateNewProj();
    void LoadProj();
    GeoProject* CurProj();
private:
    GeoProjectManager();
    vector<GeoProject*> m_proList;
    GeoProject m_prj;
};

#define GPRO  GeoProjectManager::GetSingleton()

